import '@/styles/index.scss'
import App from './App.vue'
import { createApp } from 'vue'
//引入自定义插件对象，注册整个项目全局组件
import allGlobalComponent from '@/components'
//svg插件配置代码
import 'virtual:svg-icons-register'
//引入路由
import router from './router'

const app = createApp(App)

//注册模板路由
app.use(router)

//安装自定义插件
app.use(allGlobalComponent)

app.mount('#app')
